﻿
var mysql  = require('mysql')
var http = require('http')

function getSqlConnection()
{
  //var connection = mysql.createConnection({host: 'rdsea0aj9n7m3g48ta5u.mysql.rds.aliyuncs.com', database: 'ad688com', user:'ad688com',password : 'ad688com',port: '3306',dateStrings: true ,}); 
  var connection = mysql.createConnection({host: 'game1715.com', database: 'test', user:'t',password : 's123',port: '3306',dateStrings: true ,}); 
  return connection
}


exports.start = function(response, postData, query)
{
    
    var body = "hello"
    response.writeHead(200,{"Content-Type":"text/html;charset=utf-8"});
    response.write(body);
    response.end();
  
}

